/**
 * 
 */
package com.bagtrack.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.bagtrack.dao.IUserDAO;
import com.bagtrack.model.User;
import com.bagtrack.service.IUserService;


/**
 *
 * @author Brian Boyle
 * Nov 18, 2011
 */
public class UserServiceImpl implements IUserService {

    @Autowired
    private IUserDAO userDAO;

    public void setUserDAO(IUserDAO userDAO) {
        this.userDAO = userDAO;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public List<User> findAllUsers() {
        return userDAO.selectAllUsers();
    }

}
